package com.ycrlkj.android.xx_driver.activity;

import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import com.alibaba.android.arouter.launcher.ARouter;
import com.ycrlkj.android.modulespublic.common.constant.RoutePath;
import com.ycrlkj.android.xx_driver.R;

/**
 * 项目启动页
 */
public class StartActivity extends AppCompatActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_start);
        toWelcome();
    }

    private void toWelcome() {
        ARouter.getInstance().build(RoutePath.PAGE_WELCOME).navigation();
        finish();
        overridePendingTransition(R.anim.dialog_alpha_in, R.anim.dialog_alpha_out);
    }
}